package com.henu.engineer.dao.mapper.student

import com.henu.engineer.dao.entity.student.StudentGraduationAchieved
import org.apache.ibatis.annotations.Mapper
import org.springframework.stereotype.Repository

/**
 * 学生毕业要求达成度表
 *
 * @author noexcept
 * @date 2021/7/28 11:44
 */
@Mapper
@Repository
interface StudentGraduationAchievedXmlMapper {
    fun insertSingle(studentId: String, achieveScale: Double): Boolean
    fun insertList(list: List<StudentGraduationAchieved>): Int
    fun updateSingle(studentId: String, achieveScale: Double): Boolean
    fun selectByStudentId(studentId: String): StudentGraduationAchieved?
}